package com.hxut.servlet;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet(name = "TestServlet02", urlPatterns = "/testServlet02")
public class TestServlet02 extends HttpServlet {
    public void init() {
        System.out.println("init方法被调用！");
    }

    public void service(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("service方法被调用！");
    }

    public void destory() {
        System.out.println("destory方法被调用！");
    }
}
